<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib tagdir="/WEB-INF/tags/templateIndex" prefix="t" %>
<%@ taglib tagdir="/WEB-INF/tags/componentes" prefix="comp" %>

<t:templateIndex>
	<jsp:body>
		<div class="login_form">
			<form action="${pageContext.request.contextPath}/login" method="POST">
				<div class="form_subtitle">Login</div>
				
				<div class="form_row">
					<label class="contact"><strong>Usuário:</strong></label>
					<input name="usuario.dsUsuario" value="${usuario.dsUsuario}" type="text"/>
				</div>
				
				<div class="form_row">
					<label class="contact"><strong>Senha:</strong></label>
					<input name="usuario.dsSenha" value="${usuario.dsSenha}" type="password"/>
				</div>
				
				<comp:messages />
				
				<div class="form_row">
					<button type="submit" class="button">Login</button>
				</div>		
			</form>
		</div>
	</jsp:body>
</t:templateIndex>